package com.ruixi.config;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author lrzg
 * @date 2021-10-20 09:31
 * @Description 运行异常
 */
@Data
@NoArgsConstructor
public class BaseException extends RuntimeException{

    public int code;
    public String message;

    public BaseException (int code,String message){
        this.code = code;
        this.message = message;
    }

}
